﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdminModel
{
   public  class Comment
    {
        /// <summary>
        /// 评论编号
        /// </summary>
        public int CommentID { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UsersID { get; set; }
        public virtual Users Users { get; set; }
        /// <summary>
        /// 商品信息编号
        /// </summary>
        public int GoodsID { get; set; }

        public virtual GoodsMessage GoodsMessage { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string CommentContent { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime CommentDate { get; set; }
        /// <summary>
        /// 评论星级
        /// </summary>
        public int CommentStar { get; set; }
        /// <summary>
        /// 评论“赞”数量
        /// </summary>
        public int PraiseNum { get; set; }
        /// <summary>
        /// 评论图片（图片路径）
        /// </summary>
        public string CommentImg { get; set; }
    }
}
